<?php if ( ! defined('BASEPATH')) exit('This file does not run directly. Sorry.'); ?>
<?php
/**
 * Kalaisoo.
 *
 * A lightweight no-framework framework written in PHP.
 *
 * @package Kalaisoo
 * @author $Author: info@sah-company.com $
 */
?>
<?php
/**
 * Include the partial template that holds doctype, html, head with metas and such.
 */
$this->view('shared/head');
?>
<?php
/**
 * Include the partial template that holds avatar and navigation.
 */
$this->view('shared/avatar');
?>
<?php
/**
 * Include the partial template that holds the toolbar.
 */
$this->view('shared/toolbar');
?>
<!-- Gridview of found beans -->
<section class="list">
	<h1><?php echo __($record->getMeta('type').'_legend'); ?></h1>
<?php
/**
 * Include the partial template that displays the tools.
 */
$this->view('shared/editor/toolbar');
?>
	<div id="results">
<?php
/**
 * Include the partial to loop through all found records, display them and eventually
 * display a load on scroll link.
 */
$this->view('shared/editor/records');
?>
	</div>
</section>
<!-- /Gridview of found beans -->
<?php
/**
 * Include the partial template that closes all tags opened in @see views/shared/head.
 */
$this->view('shared/foot');
?>